
<form id="form_task" action="/index.php/Admin/Task/add_do" method="post">
<div class="pad-10">

	<div class="navigate">
		<h1>任务添加</h1>
		<a class="button fr" href="/index.php/Admin/Task/">任务列表</a>
  	</div>
  	
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">任务添加</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">

	<tr>
		<th width="100">商务管理员:</th>
		<td>
			<input type="text" name="business_admin_id" id="business_admin_id" class="input-text"
			value="" style="width:300px;">
		</td>
		<th></th>
	</tr>

	<tr>
		<th width="100">网站平台:</th>
		<td>
			<select name="plantform_id" id="plantform_id" style="width:300px;">
				<volist name="plantforms" id="p">
				<option value="{$p.plantform_id}">{$p.plantform_name}</option>
				</volist>
          	</select>
		</td>
	</tr>
	
	<tr>
		<th width="100">客户:</th>
		<td>
		
			<select name="users" id="users" style="width:300px;">
				<volist name="users" id="u">
				<option value="{$u.user_id}">[{$u.user_id}]&nbsp;&nbsp;&nbsp;&nbsp;{$u.user_name}&nbsp;&nbsp;&nbsp;&nbsp;({$u.mobile_phone})</option>
				</volist>
          	</select>
			
		</td>
	</tr>
	
	<tr>
		<th width="100">活动:</th>
		<td>
		<input type="text" name="activity" id="activity" class="input-text"
			value="{$task.activity}" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">备注:</th>
		<td>
		<input type="text" name="remark" id="remark" class="input-text"
			value="{$task.remark}" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">订单量:</th>
		<td>
		<input type="text" name="order_count" id="order_count" class="input-text"
			value="{$task.order_count}" style="width:300px;">
		</td>
	</tr>
	
	<tr>
		<th width="100">任务订单金额:</th>
		<td>
		<input type="text" name="task_order_money" id="task_order_money" class="input-text"
			value="{$task.task_order_money}" style="width:300px;">
		</td>
	</tr>
	
	<tr>
		<th width="100">佣金金额:</th>
		<td>
		<input type="text" name="commission_money" id="commission_money" class="input-text"
			value="{$task.commission_money}" style="width:300px;">
			<span class="label">(手续费)</span>
		</td>
	</tr>
	
	<tr>
		<th width="100">增值服务费:</th>
		<td>
		<input type="text" name="value_added_money" id="value_added_money" class="input-text"
			value="{$task.value_added_money}" style="width:300px;">
			
			<span class="label">(提供客户信息，地址)</span>
		</td>
	</tr>
	
	<tr>
		<th width="100">任务开始时间:</th>
		<td>
		<input type="text" name="begin_time" id="begin_time" class="input-text"
			value="{$task.begin_time}" style="width:300px;">
		</td>
	</tr>
	
	<tr>
		<th width="100">任务结束时间:</th>
		<td>
		<input type="text" name="end_time" id="end_time" class="input-text"
			value="{$task.end_time}" style="width:300px;">
		</td>
	</tr>
	<tr>
		<th width="100">支付状态:</th>
		<td>
		
			<volist name="task_pay_status" id="s">
				<input type="radio" id="tps_{$s.id}" name="pay_status" value="{$s.id}" <eq name="s.id" value="0"> checked</eq> />
				<label for="tps_{$s.id}">{$s.name}</label>
				&nbsp;&nbsp;&nbsp;
			</volist>
			
		</td>
	</tr>
	
	<tr>
		<th width="100">任务状态:</th>
		<td>
		
			<volist name="task_status" id="s">
				<input type="radio" id="ts_{$s.id}" name="task_status" value="{$s.id}" <eq name="s.id" value="0"> checked</eq> />
				<label for="ts_{$s.id}">{$s.name}</label>
				&nbsp;&nbsp;&nbsp;
			</volist>
		
		</td>
	</tr>
	
	
</table>
</div>

<div class="bk15"></div>
<div class="btn"><input type="submit" class="button" value="添加" id="btnSubmit" /></div>
</div>
</div>

</form>

<script type="text/javascript" src="/Js/jquery.form.js"></script>
<script type="text/javascript" src="/Js/adm/task/add.js"></script>